package com.nbst.model.base;

import java.util.Date;

/**
 * 
 * @ClassName: Message
 * @Description:消息与用户的中间表
 * @author King
 * @date 2018年10月22日
 *
 */
public class Message extends OrderBy {
	/** 发送人 */
	private Integer fSendId;

	/** 接收者id 0为全体可见 */
	private Integer fReadId;

	/** 消息内容id */
	private Integer fMessageId;

	/** 阅读状态 */
	private Integer fStatus;

	/** 发送时间 */
	private Date fSendTime;

	/** 关闭标志 */
	private Integer fClosed;

	/** 类型 0全体可见 1部分可见 */
	private Integer fType;

	/** 部门id 0 全体可见 */
	private Integer fDepId;

	public Integer getfSendId() {
		return fSendId;
	}

	public void setfSendId(Integer fSendId) {
		this.fSendId = fSendId;
	}

	public Integer getfReadId() {
		return fReadId;
	}

	public void setfReadId(Integer fReadId) {
		this.fReadId = fReadId;
	}

	public Integer getfMessageId() {
		return fMessageId;
	}

	public void setfMessageId(Integer fMessageId) {
		this.fMessageId = fMessageId;
	}

	public Integer getfStatus() {
		return fStatus;
	}

	public void setfStatus(Integer fStatus) {
		this.fStatus = fStatus;
	}

	public Date getfSendTime() {
		return fSendTime;
	}

	public void setfSendTime(Date fSendTime) {
		this.fSendTime = fSendTime;
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public Integer getfType() {
		return fType;
	}

	public void setfType(Integer fType) {
		this.fType = fType;
	}

	public Integer getfDepId() {
		return fDepId;
	}

	public void setfDepId(Integer fDepId) {
		this.fDepId = fDepId;
	}

	@Override
	public String toString() {
		return "Message [fSendId=" + fSendId + ", fReadId=" + fReadId + ", fMessageId=" + fMessageId + ", fStatus="
				+ fStatus + ", fSendTime=" + fSendTime + ", fClosed=" + fClosed + ", fType=" + fType + ", fDepId="
				+ fDepId + "]";
	}
}